package com.zxbit.uangstore.domain;

import com.zxbit.uangstore.base.BaseResponse;
import com.zxbit.uangstore.utils.StringUtils;

public class LoginResponse extends BaseResponse<LoginData> {
    private static final long serialVersionUID = -8923152145705222972L;

    @Override
    public boolean hasData() {
        return getData() != null && !StringUtils.isEmpty(getData().getToken());
    }
}
